<template>
  <div class="logo">
   <el-row class="demo-avatar demo-basic">
    <div class="block">
          <el-avatar shape="square" :size="50" :src="squareUrl" />
        </div>
   </el-row>
  </div>
</template>

<script lang= "ts" setup>
import { reactive, toRefs } from 'vue'

const state = reactive({
  squareUrl:
    'https://cube.elemecdn.com/9/c2/f0ee8a3c7c9638a54940382568c9dpng.png',
  sizeList: ['small', 'large'] as const,
})

const { squareUrl } = toRefs(state)
</script>

<style lang= "less" scoped>
.demo-basic {
  text-align: center;
}
.demo-basic .demo-basic--square {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.demo-basic .block {
  flex: 1;
}
.demo-basic .el-col:not(:last-child) {
  border-right: 1px solid var(--el-border-color);
}
</style>
